var akOn = false;

window.addEvent('domready', function()
{
	$('accesskeys').setOpacity(0);
	$('accesskeys').setStyles({'top': 0, 'left': 0});
	
	var release = function()
	{
		if (akOn)
		{
			$('accesskeys').setStyle('top', 0);
			$('accesskeys').setOpacity(0);
			akOn = false;
		}
	}
	
	document.addEvents(
	{
		'keydown': function(event)
		{
			event = new Event(event);
			if (!akOn && (event.control || event.alt || event.shift))
			{
				$('accesskeys').setStyle('top', window.getScrollTop());
				$('accesskeys').setOpacity(0.7);
				akOn = true;
			}
			release.delay(10000);
		},
		'keyup': function(event)
		{
			event = new Event(event);
			
			release.delay(3000);
		}
	});
});
